package com.spring.bean.dao;

import com.spring.bean.student.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class UserDaoImpl {
    @Autowired
    User user;
    public String toUser() {
        return "用户注册成功!" + "账号" + user.getNumber() + "密码" + user.getPassword() + "身份" + user.getIdentity() ;
    }




}

